package com.jaws.core.configuration;

import lombok.Data;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 兼容配置类
 * 
 * @author maojian
 * @date 2018-03-12 08:56:12
 * @since v1.0.0
 */
@ConfigurationProperties(prefix = CompatibleProperties.COMMON_PREFIX)
@Data
public class CompatibleProperties {

	public static final String COMMON_PREFIX = "jaws.compatible";

	private Memcache memcache;

	@Data
	public static class Memcache {
		private String[] server;
		private int initConn;
		private int minConn;
		private int maxConn;
		private int maintSleep;
		private Boolean nagle;
		private int socketTO;
	}

}
